home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 8
/
FM Towns Free Software Collection 8.iso
/
t_os
/
gpen32k
/
source
/
lib
/
osrc
/
ocircle2.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS (detected)
UTF-8
Wrap
C/C++ Source or Header
|
1994-06-01
|
226 b
|
13 lines
/*
グラフィック特別関数
*/
#include <math.h>
#include <EGB.H>
#include <NORMLIB.h>
void circle2(int x1, int y1, int x2, int y2, int wm, int c )
{
circle(x1, y1, sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)), wm, c);
}